var cc__decorate = __decorate;
Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.pictip = undefined;
var cc__decorator = cc._decorator;
var ccp_ccclass = cc__decorator.ccclass;
var ccp_property = cc__decorator.property;
var exp_pictip = /* */function (_cc$Component40) {
  function _ctor() {
    var _this188;
    babel_classCallCheck(this, _ctor);
    _this188 = _callSuper(this, _ctor, arguments);
    _this188.ready = true;
    return _this188;
  }
  babel_inherits(_ctor, _cc$Component40);
  return babel_createClass(_ctor, [{
    key: "playTip",
    value: function playTip(e) {
      this.node.active = true;
      this.ready = false;
      this.node.getComponent(cc.Animation).play();
      this.node.getComponentInChildren(cc.Label).string = e;
    }
  }, {
    key: "playend",
    value: function playend() {
      this.node.active = false;
      this.ready = true;
    }
  }, {
    key: "isReady",
    value: function isReady() {
      return this.ready;
    }
  }]);
}(cc.Component);
exp_pictip = cc__decorate([ccp_ccclass], exp_pictip);
exports.pictip = exp_pictip;